﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="1002.aspx.cs" Inherits="_1002" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="conent-R-inner">
        <div id="nav">
            <a href="index.aspx">
                <% Response.Write("首頁".ConverToCN());%></a><img src="css/tem/img/img-icon-4.jpg"
                    width="5" height="7" /><b><% Response.Write("醫療團隊 ".ConverToCN());%></b></div>
        <div class="clr">
        </div>
        <div>
        </div>
        <div class="heading-01">
            <% Response.Write("醫療團隊".ConverToCN());%></div>
        <br />
        <table border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <img src="css/tem/img/img-team-1.jpg" width="145" height="353" alt="醫師團體照" />
                </td>
                <td>
                    <img src="css/tem/img/img-team-2.jpg" width="600" height="353" alt="醫師團體照" />
                </td>
            </tr>
        </table>
        <br />
        <div class="heading-01">
            <% Response.Write("醫療團隊介紹".ConverToCN());%></div>
        <div>
        </div>
        <asp:ListView ID="ListView1" runat="server" DataSourceID="ObjectDataSource1" DataKeyNames="doc_no">
            <EmptyDataTemplate>
                <div class="team-name-zone">
                    <% Response.Write("查無資料".ConverToCN());%>
                    <span class="blue">&nbsp;</span>
                </div>
            </EmptyDataTemplate>
            <ItemTemplate>
                <div class="team-name-zone">
                    <a href='<%# string.Format("#table{0}",Eval("doc_no")) %>'>
                        <%# Eval("doc_name").ConverToCN() %></a> <a href='<%# string.Format("#table{0}",Eval("doc_no")) %>'>
                            </a><span class="blue">
                                <%# Eval("doc_ename") %></span></div>
            </ItemTemplate>
        </asp:ListView>
        <img src="css/tem/img/img-team-3.jpg" width="746" height="7"  alt="" />
        <% 
            foreach (var d in showAll)
            {
                string href = "table" + d.doc_no;
                string name = (d.doc_name + d.doc_ename + " " + d.doc_title).ConverToCN();
                //大頭照
                this.img_pic.ImageUrl = string.Format("~/lib/peoplePIC.ashx?doc_picpath={0}", d.doc_photopath + d.doc_photoname);
                //學經歷
                string exp = d.doc_experience.ConverToCN();
                string skii = d.doc_skill.ConverToCN();
                string job = d.doc_job.ConverToCN();
        %>
        <table width="746" border="0" cellpadding="5" cellspacing="0" id='<% Response.Write(href);%>'>
            <tr>
                <td width="140">
                </td>
                <td width="58">
                </td>
                <td width="518">
                    <h1>
                        <% Response.Write(name);%></h1>
                </td>
            </tr>
            <tr>
                <td rowspan="3" align="left" valign="top">
                    <div class="team-img">
                        <asp:Image ID="img_pic" runat="server" Height="168px" Width="120px" ImageUrl="~/images/noimage.jpg" />
                    </div>
                </td>
                <td align="right" valign="top" class="green1">
                    <% Response.Write("學經歷".ConverToCN());%>
                </td>
                <td align="left" valign="top">
                    <div>
                        <% Response.Write(exp);%>
                    </div>
                </td>
            </tr>
            <tr>
                <td align="right" valign="top" class="green1">
                    <% Response.Write("現任".ConverToCN());%>
                </td>
                <td align="left" valign="top">
                    <ul>
                        <li>
                            <% Response.Write(job);%></li>
                    </ul>
                </td>
            </tr>
            <tr>
                <td align="right" valign="top" class="green1">
                    <% Response.Write("專長".ConverToCN());%>
                </td>
                <td align="left" valign="top">
                    <div>
                        <% Response.Write(skii);%>
                    </div>
                </td>
            </tr>
            <tr>
                <td colspan="3" align="left" valign="top">
                    <div class="dotline">
                    </div>
                </td>
            </tr>
        </table>
        <%
            }
        %>
    </div>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="Get_doctor_AllData" TypeName="CCH.DAO.doctorprofileDAO" SelectCountMethod="Get_doctor_AllData_Count">
    </asp:ObjectDataSource>
</asp:Content>
